<?php
$channel = $this->getChannel();
$this->pageTitle = $channel->title;
?>

	<div class="page-header">
		<h1><?php echo $this->pageTitle; ?> <?php echo CHtml::link('创建' . $channel->modelName, array('create', 'channel' => $channel->id), array('class' => 'btn btn-link')); ?></h1>
	</div>

<?php echo $this->renderContentPartial($model, '_grid', array('model' => $model, 'channel' => $channel)); ?>
